In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials. It is commonly used to solve ordinary differential equations, but is also used within multivariable calculus, in this case often multiplying through by an integrating factor allows an inexact differential to be made into an exact differential (which can then be integrated to give a scalar field). This is especially useful in thermodynamics where temperature becomes the integrating factor that makes entropy an exact differential.
Contents |
Consider an ordinary differential equation of the form
Consider a function . We multiply both sides of (1) by
We want the left hand side to be in the form of the derivative of a product (see product rule), such that (2) can be written as
The left hand side in (3) can now be integrated
We can now solve for
Applying the product rule to the left hand side of (3) and equating to the left hand side of (2)
From which it is clear that obeys the differential equation :
Solving (5) gives
is called an integrating factor.
Solve the differential equation
We can see that in this case
Multiplying both sides by we obtain
or
which gives
The term "integrating factor" is synonymous with the solution of first order linear equations. One should bear in mind, however, that an integrating factor is any expression that a differential equation is multiplied by to facilitate integration, and that it is by no means restricted to first order linear equations. For example, the nonlinear second order equation
admits as an integrating factor:
To integrate, note that both sides of the equation may be expressed as derivatives by going backwards with the chain rule:
Therefore
This form may be more useful, depending on application. Performing a separation of variables will give:
this is an implicit solution which involves a nonelementary integral. Though likely too obscure to be useful, this is a general solution. Also, because the previous equation is first order, it could be used for numeric solution in favor of the original equation.